package com.dime.basic.api;

import com.dime.basic.api.domain.DimeBasemaincheckconclusionadvice;
import com.dime.basic.api.factory.RemoteBaseCombFallbackFactory;
import com.ruoyi.common.core.constant.SecurityConstants;
import com.ruoyi.common.core.constant.ServiceNameConstants;
import com.ruoyi.common.core.domain.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestHeader;

import java.util.List;

@FeignClient(contextId = "remoteBaseMaincheckHarmAdvice", value = ServiceNameConstants.DM_BASIC, fallbackFactory = RemoteBaseCombFallbackFactory.class)
public interface RemoteBaseMaincheckHarmAdvice {


    @PostMapping("/basemaincheckconclusionadvice/info/getconclusionadviceList")
    public R<List<DimeBasemaincheckconclusionadvice>> getconclusionadviceList(@RequestBody DimeBasemaincheckconclusionadvice basemaincheckconclusionadvice, @RequestHeader(SecurityConstants.FROM_SOURCE) String source);

}
